package com.btt.pattern.prototype.deep;

import java.io.Serializable;

/**
 * created by Btt on 2018/6/28
 */

public class JinGuBang implements Serializable {

    private float h = 100;
    private float w = 10;

    public void big(){
        this.h *= 2;
        this.w *= 2;
    }

    public void smal(){
        this.h /= 2;
        this.w /= 2;
    }

}
